package com.idheima.lianxi;

import java.util.ArrayList;

public class Classmanager {
    private ArrayList<Student> students = new ArrayList<>();
    private Studentcaozuo studentcaozuo=new Studentshixian1();
    public Classmanager() {
        students.add(new Student("张三", '男', 90));
        students.add(new Student("李四", '女', 80));
        students.add(new Student("王五", '男', 70));
        students.add(new Student("赵六", '女', 60));
    }
    public void print() {
        studentcaozuo.print(students);
    }
    public void Evaluation() {
        studentcaozuo.Evaluation(students);
    }
}
